package hcn.protocol.ods;

import hcn.protocol.ods.diagnosis.AbstractResponse;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * Created by zhengz on 2017/01/04.
 */
@XmlRootElement(name = "regDeptResponse")
public class RegDeptListBean extends AbstractResponse implements Serializable {

    private static final long serialVersionUID = 3660993909404953964L;

    @XmlElementWrapper(name = "regDeptList")
    @XmlElement(name = "regDept")
    private List<RegDeptBean> regDeptBeanList;

    public List<RegDeptBean> getRegDeptBeanList() {
        return regDeptBeanList;
    }

    public void setRegDeptBeanList(List<RegDeptBean> regDeptBeanList) {
        this.regDeptBeanList = regDeptBeanList;
    }
}
